﻿<Window x:Class="AutoUpgradeManager.ControlForm.Window_PrjVersionSetup"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="升级项目版本设置" 
        Height="160" 
        Width="300" 
        Background="{x:Null}"
        WindowStyle="None"
        AllowsTransparency="True"
        WindowStartupLocation="CenterScreen"
        FocusManager.FocusedElement="{Binding ElementName=Txt_Version}">
    <GroupBox  Height="160" Header="升级项目版本设置" Background="{DynamicResource WindowBackgroundBrush}">
        <Border CornerRadius="4" Margin="-1,1,-1,0"  BorderThickness="1" BorderBrush="DarkGray">
        <Grid Margin="5">
            <Grid.RowDefinitions>
                <RowDefinition Height="33*"/>
                <RowDefinition Height="33*"/>
                <RowDefinition Height="33*"/>
                <RowDefinition Height="25"/>
            </Grid.RowDefinitions>
            <DockPanel Grid.Row="0" LastChildFill="True">
                <Label VerticalAlignment="Center" DockPanel.Dock="Left" Margin="5,0,5,0" Content="项目版本编号:"/>
                <TextBox Name="Txt_Version" Keyboard.PreviewKeyUp="Txt_Version_PreviewKeyUp" VerticalAlignment="Center" DockPanel.Dock="Left" Margin="5,0,5,0" Height="20" ToolTip="版本输入格式：N.N.N" TabIndex="1" />
            </DockPanel>
            <DockPanel Grid.Row="1" LastChildFill="True">
                <Label VerticalAlignment="Center" DockPanel.Dock="Left" Margin="5,0,5,0" Content="项目发布时间:"/>
                <TextBox Name="Txt_DateTime"  VerticalAlignment="Center" DockPanel.Dock="Left" Margin="5,0,5,0" Height="20" IsReadOnly="True"/>
            </DockPanel>
            <DockPanel Grid.Row="2" LastChildFill="True">
                <Label VerticalAlignment="Center" DockPanel.Dock="Left" Margin="5,0,5,0" Content="项目启动程序:"/>
                <ComboBox Name="Cmb_StartProgram"  VerticalAlignment="Center" DockPanel.Dock="Left" Margin="5,0,5,0" Height="20" IsReadOnly="True"/>
            </DockPanel>
            <StackPanel Grid.Row="3" HorizontalAlignment="Right"  DockPanel.Dock="Bottom" Orientation="Horizontal">
                <Button  Name="Btn_Ok" Click="Btn_Ok_Click" Padding="20,3" Height="22" Content="确  认"/>
                <Button  Name="Btn_Close" Click="Btn_Close_Click" Margin="10,0,5,0" Padding="20,3" Height="22"  Content="关  闭"/>
            </StackPanel>
        </Grid>
        </Border>
    </GroupBox>

</Window>
